package com.example.invoicing.dao;

import com.example.invoicing.pojo.SalesRecord;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SalesRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(SalesRecord record);

    int insertSelective(SalesRecord record);

    SalesRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SalesRecord record);

    int updateByPrimaryKey(SalesRecord record);

    List<SalesRecord> querySalesRecordList(SalesRecord record);

    int queryCountLike(SalesRecord record);
}